package cn.tedu.spring.resource;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestweiboMapper {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext
                ("cn.tedu.spring.resource");
        weiboMapper mapper = context.getBean(weiboMapper.class);
        System.out.println(mapper);
    }


}
